<?php

namespace app\controller;

use app\model\Player;
use support\Request;

class LeaveToMessageController
{
    public function index(Request $request)
    {
        $data = $request->all();

        $message = Player::query()->where('id', 1)->value('message');

        return response("$message");
    }

}
